package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.security.Permission;
import java.util.List;


@Data
@TableName(value = "role")
public class RoleVo {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String name;
    private String description;
    private String status;
    private Integer isDelete;
    @TableField(exist = false)
    private List<MenuVO> menus;
    @TableField(exist = false)
    private String menuNames;

}
